Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compatibility with template-haskell-2.21.0 and ghc 9.8 #2542

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

locallycompact
Copy link
Contributor

No description provided.

@georgefst georgefst mentioned this pull request Oct 17, 2023
@Gabriella439 Gabriella439 merged commit dfa8286 into dhall-lang:main Oct 17, 2023
4 checks passed
@Gabriella439
Copy link
Collaborator

thank you!!! I'll cut a release soon including these changes

TeofilC added a commit to TeofilC/dhall-haskell that referenced this pull request Dec 16, 2024
<dhall-lang#2542> allowed `dhall`
to compile with template-haskell-2.21 and GHC-9.8 by adapting to the
addition of a binder visibility field on type variables.

Previously all binders were taken to be required, but in GHC-9.8 the
possibility of invisible binders was introduced.

The above patch mistakenly set all binders generated by Dhall to be
invisible, rather than default value of required. This changes the
semantics of the code and broke some examples in the test suite.

This patch fixes this by correctly setting binders to be BndrReq.

Resolves dhall-lang#2567
TeofilC added a commit to TeofilC/dhall-haskell that referenced this pull request Dec 16, 2024
dhall-lang#2542 allowed `dhall`
to compile with template-haskell-2.21 and GHC-9.8 by adapting to the
addition of a binder visibility field on type variables.

Previously all binders were taken to be required, but in GHC-9.8 the
possibility of invisible binders was introduced.

The above patch mistakenly set all binders generated by Dhall to be
invisible, rather than default value of required. This changes the
semantics of the code and broke some examples in the test suite.

This patch fixes this by correctly setting binders to be BndrReq.

Resolves dhall-lang#2567
@TeofilC TeofilC mentioned this pull request Dec 16, 2024
Gabriella439 pushed a commit that referenced this pull request Dec 20, 2024
#2542 allowed `dhall`
to compile with template-haskell-2.21 and GHC-9.8 by adapting to the
addition of a binder visibility field on type variables.

Previously all binders were taken to be required, but in GHC-9.8 the
possibility of invisible binders was introduced.

The above patch mistakenly set all binders generated by Dhall to be
invisible, rather than default value of required. This changes the
semantics of the code and broke some examples in the test suite.

This patch fixes this by correctly setting binders to be BndrReq.

Resolves #2567
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants